package com.hibase.core.excel.vo.bizdata;

import com.hibase.core.excel.vo.BaseViewExcelVO;
import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Excel业务数据集列表模型
 *
 * @author <a href="mailto:xiongliyi@hichain.com">Ian Xiong</a>
 * @since 1.4.35-V2
 */
@Data
@HibaseValid
@ApiModel(value = "MdsExcelBizDataListVO", description = "Excel业务数据集列表模型")
public class MdsExcelBizDataUpdateVO extends BaseViewExcelVO {
    @ApiModelProperty("唯一标识")
    @NotEmpty(message = "ID不能为空")
    private String id;

    @ApiModelProperty("业务数据集编码")
    @NotEmpty(message = "业务数据集编码不能为空")
    private String code;

    @ApiModelProperty("业务数据集名称")
    @NotEmpty(message = "业务数据集名称不能为空")
    private String name;

    @ApiModelProperty("版本号")
    @NotNull(message = "版本号不能为空")
    private Integer version;

}
